package com.lrkj.back.service;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.TbEmployee;
import cn.com.cbons.mamisay.parent.exception.DBException;
import cn.com.cbons.mamisay.parent.service.api.ParentService;

import com.github.pagehelper.PageInfo;

public interface TbEmployeeService  extends ParentService<TbEmployee>{
	public TbEmployee findEmployeeByEmployeeLoginname(String employeeLoginname) throws DBException;

	public PageInfo<TbEmployee> queryTbEmployeeList(Map<String, Object> map) throws DBException;
	
	public List<TbEmployee> queryEmployeeList(Map<String, Object> map) throws DBException;
	
	TbEmployee selectByEmployeeNo(String employeeNo) throws DBException;
	
	//验证原密码
	public TbEmployee queryMima(TbEmployee emp) throws DBException;
	//修改密码
	int updateEmpPassword(TbEmployee emp) throws DBException;
	
	List<TbEmployee> findEmployee(Map<String, Object> map) throws DBException;
}
